package Marta;

import simView.ViewableAtomic;

public class Scheduler extends ViewableAtomic {
	
	/**
	 * How many train has started since the simulation starts
	 * */
	private int trainNum = 0;
	
	/**
	 * *How many ppl are currently wating in all the Marta Systems
	 * */ 
	private int pplWating = 0;
	
	/**
	 * If the system need a new rescheduled train to improve the QoS 
	 * **/
	private boolean ifReschedule = false;
	
	/**
	 * An array to record how many passengers arrived and still watinig
	 * e.g.  waitingQ[16] = 8 means there are 8 passengers arrived at 16th minute of the 
	 *     simulation but are still waiting in the system  
	 ***/
	private int waitingQ[];

	
	
	public Scheduler(String name) {
		super(name);
	}
	
//	private void updateWaitingQ(int ) {
//		
//		
//	}
}
